WPF and Silverlight Edition Basic Library > RadialMenu > Quick Start: RadialMenu for WPF and Silverlight > Step 1: Creating a C1RadialMenu Application |
In this step, you begin by creating a WPF application in Visual Studio and then adding a C1RadialMenu control to your application.
To add a C1RadialMenu control to your application, perform the following steps.
XAML |
Copy Code
|
---|---|
<Window.Resources> <Style TargetType="TextBlock" x:Key="TextIconStyle"> <Setter Property="Margin" Value="-10" /> <Setter Property="FontSize" Value="20" /> <Setter Property="FontFamily" Value="Segoe UI Symbol" /> <Setter Property="FontWeight" Value="Normal" /> <Setter Property="Foreground" Value="#333333" /> <Setter Property="HorizontalAlignment" Value="Center" /> <Setter Property="VerticalAlignment" Value="Center" /> </Style> <Style TargetType="Image" > <Setter Property="Width" Value="25"/> <Setter Property="Height" Value="25"/> <Setter Property="Margin" Value="0"/> </Style> </Window.Resources> |
XAML |
Copy Code
|
---|---|
<Border Background="LemonChiffon" MinHeight="40" BorderBrush="#969696" BorderThickness="1" Padding="5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></Border> |
With this, you completed the first step of this Quick Start guide.